/// Author: QP
/// Version: 1.0
/// Date:2021/07/01
/// 卫生事件章节-关键药物子表
Class HCC.SQL.Document.HealthcareEvent.KeyMedicine Extends (%Persistent, %XML.Adaptor, HCC.SQL.Base) [ DependsOn = HCC.SQL.Base ]
{

/// 关键药物名称
Property name As WS.DE.DE085002200 [ SqlFieldName = name ];

/// 关键药物用法
Property usage As WS.DE.DE060013600 [ SqlFieldName = usage ];

/// 药物不良反应
Property adverseReaction As WS.DE.DE060012900 [ SqlFieldName = adv_react ];

/// 中药类别
Property TCMType As WS.DE.DE060016400 [ SqlFieldName = TCM_type ];

/// 文档编号
Relationship healthcareEvent As HCC.SQL.Document.HealthcareEvent [ Cardinality = parent, Inverse = keyMedicines, SqlFieldName = DocumentNo ];


}
